package temporay.service;

import temporay.Connection;
import temporay.message.Request;
import temporay.message.Response;

/**
 * program: io-share 
 * author: bsworld.xie 
 * create: 2021-04-21 10:25 
 * description: 
 */
public class EchoApiServiceProxy {
    private Connection connection;
    private EchoApiServiceImpl echoApiService;

    public void invoke(Request request) {
        Response response = echoApiService.echo(request);
        connection.sendResponse(response);
    }
}
